package com.higgins.lawapp.client.settings.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.higgins.lawapp.client.settings.dataModel.DataSourceDTO;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("dataSource")
public interface DataSourceService extends RemoteService {
	List<DataSourceDTO> retrieveDataSources()	throws IllegalArgumentException;
	String insertDataSource(DataSourceDTO dataSourceDTOs)	throws IllegalArgumentException;
	String updateDataSource(DataSourceDTO dataSourceDTO)	throws IllegalArgumentException;
	String deleteDataSource(DataSourceDTO dataSourceDTO) 	throws IllegalArgumentException;
}
